package com.example.pwj.ffstudy.comm.anim;

import android.animation.Animator;
import android.animation.ObjectAnimator;
import android.view.View;

/**
 * Created by pwj on 2017/8/16.
 */

public class SlideInRightAnimation extends BaseAnimation {
    @Override
    public Animator[] getAnimators(View view) {
        return new Animator[]{
                ObjectAnimator.ofFloat(view,"translationX",view.getMeasuredWidth(),0)
        };
    }
}
